#ifndef LOGWIDGET_H
#define LOGWIDGET_H

#include <QWidget>
#include<QLabel>
#include<QPushButton>
#include<QTableWidget>
#include<QHBoxLayout>
#include<QVBoxLayout>
#include"model/basemodel.h"
#include"contrl/mycontrol.h"
#include"golob.h"
class LogWidget : public QWidget
{
    Q_OBJECT
public:
    explicit LogWidget(QWidget *parent = nullptr);
    void initUI();

signals:
    void RetToMain();

public slots:


    void ret();
private:
    QLabel* title;
    QTableWidget* tableWidget ;
    QPushButton*ret_button;

    QHBoxLayout*layout_H1;
    QHBoxLayout*layout_H2;
    QHBoxLayout*layout_H3;
    QVBoxLayout*layout_V;

    QList<LogAddUser*> vec;

    MyControl* con;
    BaseModel*model;

};

#endif // LOGWIDGET_H
